package tom.shared;

import java.io.Serializable;
import java.util.Date;

public class Customer implements Serializable {
	private static final long serialVersionUID = 6071293149600303590L;

	public Customer() {
		custLimit = 0.0;
		custBalance = 0.0;

		contact = new Contact();
	}

	public Customer(String contCode, Double custLimit, Double custBalance,
			String custVatCode, Integer custDueDay, String custStatus,
			Integer custPayMeth, Date custLastDate, String custLastDocRef,
			Integer custLastInv, String custLabel, String modUser, Date modTime) {
		super();
		this.contCode = contCode;
		this.custLimit = custLimit;
		this.custBalance = custBalance;
		this.custVatCode = custVatCode;
		this.custDueDay = custDueDay;
		this.custStatus = custStatus;
		this.custPayMeth = custPayMeth;
		this.custLastDate = custLastDate;
		this.custLastDocRef = custLastDocRef;
		this.custLastInv = custLastInv;
		this.custLabel = custLabel;
		this.modUser = modUser;
		this.modTime = modTime;
	}

	public String contCode;
	public Double custLimit;
	public Double custBalance;
	public String custVatCode;
	public Integer custDueDay;
	public String custStatus;
	public Integer custPayMeth;
	public Date custLastDate;
	public String custLastDocRef;
	public Integer custLastInv;
	public String custLabel;
	public String modUser;
	public Date modTime;

	public Contact contact;
}
